package com.hub.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.hub.utils.BaseEntity;
import lombok.Data;
import lombok.ToString;

/**
 * <p>
 * 
 * </p>
 *
 * @author hub
 * @since 2020-05-14
 */
@Data
@ToString
public class AuthUserRole extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 用户角色表
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户Id
     */
    private Long userId;

    /**
     * 角色Id
     */
    private Long roleId;

}
